home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / CW GUSI 1.6.4 / doc / pod / GUSI_Unix.pod < prev    next >
Encoding:
Text File  |  1995-04-20  |  697 b   |  20 lines  |  [TEXT/CWIE]

  1. =head2 Unix domain sockets
  2.  
  3. This domain is quite regular and supports all calls that
  4. work on any domain, except for out-of-band data. 
  5.  
  6. =head2 Differences to generic behavior
  7.  
  8. Addresses are file system pathnames. C<GUSI> complies to the
  9. Unix implementation in that it doesn't require the name to be terminated by a zero.
  10. Names that are generated by C<GUSI>, however, will always be zero terminated (but
  11. the zero won't be included in the count).
  12.  
  13.     struct sockaddr_un {
  14.       short    sun_family;    /* Always AF_UNIX     */
  15.       char     sun_path[108]; /* A pathname to a file */
  16.     };
  17.     
  18. C<choose()> works both for existing and new addresses, and no restriction
  19. is possible (or necessary).
  20.